REM CONFIGURACOES
SET MYSQL_PATH=C:\xampp\mysql
SET MYSQL_USER=root  
SET MYSQL_PASS=  
   
SET MYSQL_HOST=localhost  
SET MYSQL_PORT=3306  

REM AQUI PEGA A DATA
date /t
set date=
for /F "tokens=1-3 delims=/ " %%a in ('date /T') do set date=%%c%%b%%a


time /t
set time=
for /F "tokens=1-3 delims=: " %%a in ('time /T') do set time=%%c%%a%%b


set date_time=
set date_time=%date%_%time%

   
REM AQUI SEMPRE USAR A BARRA INVERTIDA (/)   
SET ARQUIVO=C:/temp/gestock_bd_%date_time%.sql  
   
SET MYSQL_DATABASE=gestock